//
//  SmallDetailKindCollectionCellS.m
//  MarianasTrench
//
//  Created by 王晓晨 on 16/3/19.
//  Copyright © 2016年 王爵. All rights reserved.
//

#import "SmallDetailKindCollectionCellS.h"

@interface SmallDetailKindCollectionCellS ()



@end

@implementation SmallDetailKindCollectionCellS

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        
        [self createSubViews];
        
    }return self;
}

- (void)setMoreDetailKindModel:(MoreDetailKindModel *)moreDetailKindModel {
    if (_moreDetailKindModel != moreDetailKindModel) {
        _moreDetailKindModel = moreDetailKindModel;
    }
    self.titlelabel.text = _moreDetailKindModel.tname;
}

- (void)createSubViews {
    
    self.titlelabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, CELLWIDTH, CELLHEIGHT)];
    [self.contentView addSubview:_titlelabel];
    _titlelabel.backgroundColor = RGBA(242, 246, 248, 1);
    _titlelabel.textAlignment = NSTextAlignmentCenter;
}

@end
